<template>
  <div>
    <WangEditorWithOSS @changeInfo="handleChangeInfo" @submit="handleSubmit" />
  </div>
</template>

<script>
import WangEditorWithOSS from '@/utils/quirtText.vue'

export default {
  components: {
    WangEditorWithOSS
  },
  methods: {
    handleChangeInfo(info) {
      console.log('编辑器内容发生变化:', info)
    },
    handleSubmit(info) {
      console.log('提交的内容:', info)
      // 在这里处理提交的内容，例如发送到服务器
    }
  }
}
</script>